package com.bizzard.user.service;

import com.bizzard.user.domain.User;
import com.bizzard.basic.service.IBaseService;
import com.bizzard.user.dto.UserDto;

import javax.mail.MessagingException;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Bao
 * @since 2022-06-01
 */
public interface IUserService extends IBaseService<User> {

    /**
     *  手机号码注册
     * @param userDto
     */
    void phoneRegister(UserDto userDto);

    /**
     *  邮箱注册
     * @param userDto
     */
    void emailRegister(UserDto userDto) throws MessagingException;
}
